package com.testplatfrom.project.service;

import com.testplatfrom.project.domain.TestplatfromHttpconfiguration;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * http环境配置 服务类
 * </p>
 *
 * @author 杨森
 * @since 2023-08-07
 */
public interface TestplatfromHttpconfigurationService extends IService<TestplatfromHttpconfiguration> {

    /**
     * 新增或者修改
     * @param testplatfromHttpconfigurationList HTTP配置list
     * @param environmentId 若是新增 则需要传环境id
     * @param bool 新增为true update 为false
     */
    public void HttpConfigCheck(List<TestplatfromHttpconfiguration> testplatfromHttpconfigurationList, String environmentId, Boolean bool);


    /***
     * 根据环境id获取详情
     * @param environmentId 环境id
     * @return
     */
    public List<TestplatfromHttpconfiguration> getHttpConfigDetail(String environmentId);



}
